import BasicLayout from "@/Layouts/Layout.vue";

import system from './system'
import mate from './mate'
import store from './store'

export default [{
    path: '/',
    name: '/',
    header: '/',
    redirect: {
        name: `/home`
    },
    component: BasicLayout,
    children: [
        {
            path: '/home',
            name: '/home',
            meta: {
                auth: 'home',
                menu_name: '主页',
                affix: true,
                header: false,
            },
            component: () => import('@/views/index/index.vue')
        },
        ...system,
        ...mate,
        ...store
    ]
}]
